utils/gawk: Fix package
authorDaniel Engberg <[email protected]>
Tue, 12 Dec 2017 10:02:13 +0000 (11:02 +0100)
committerGitHub <[email protected]>
Tue, 12 Dec 2017 10:02:13 +0000 (11:02 +0100)
Remove igawk references as it's obsolete and not provided anymore.
Reported here: https://github.com/openwrt/packages/issues/5110
Fix package URL

Signed-off-by: Daniel Engberg <[email protected]>
utils/gawk/Makefile

index f1d89d61c9c327716007a0460168419a263dbe40..9c32cb49d3325b5f716f014535587da610907aae 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gawk
 PKG_VERSION:=4.2.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/gawk
@@ -25,14 +25,14 @@ include $(INCLUDE_DIR)/package.mk
 define Package/gawk
   SECTION:=utils
   CATEGORY:=Utilities
-  URL:=http://tukaani.org/xz
+  URL:=https://www.gnu.org/software/gawk/
   TITLE:=GNU awk
   DEPENDS:=+libncursesw +libreadline
 endef
 
 define Package/gawk/install
        $(INSTALL_DIR) $(1)/usr/bin
-       $(CP) $(PKG_INSTALL_DIR)/usr/bin/{gawk,igawk} $(1)/usr/bin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/gawk $(1)/usr/bin/
        $(INSTALL_DIR) $(1)/usr/lib/gawk
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/gawk/* $(1)/usr/lib/gawk/
        $(INSTALL_DIR) $(1)/usr/lib/awk